package cate.common.table.activity.tbboss;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass("试炼分组")
public class TBBossGroupSheet extends ESheet<TBBossGroupRow> {
    @Override
    public String getSheetName() {
        return "试炼分组";
    }

    public TBBossGroupRow findGroupRow(int level) {
        for (TBBossGroupRow row : this.getList()) {
            if (level >= row.levelMin && level <= row.levelMax) {
                return row;
            }
        }
        return null;
    }

}
